home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
utmisc1
/
textvw15.lzh
/
TextView
/
TextView.doc
< prev
next >
Wrap
Text File
|
1996-05-02
|
29KB
|
877 lines
$VER: TextView.doc 1.5 (29.4.96)
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
April 29, 1996
Torbjörn Andersson
presents
TextView 1.5
Shareware
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
1. Contents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contents ................................................. 1
Introduction ............................................. 2
Requirements ............................................. 3
Usage .................................................... 4
Load ..................................................... 5
Save ..................................................... 6
Crunch ................................................... 7
Keys ..................................................... 8
Mouse .................................................... 9
Search .................................................. 10
Goto .................................................... 11
Iconify ................................................. 12
Settings ................................................ 13
Comments ................................................ 14
Bugs .................................................... 15
History ................................................. 16
Credits ................................................. 17
Distribution ............................................ 18
Shareware ............................................... 19
Author .................................................. 20
2. Introduction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TextView is one of the programs I use most. I made it
because I wanted a good and fast textviewer. And TextView is
fast. It loads files in a twinkling of an eye, it has custom
routines for text output and scrolling, and searching for a
string is very fast. I have tried to make it configurable
and userfriendly, so I hope it can be used by anybody.
Features:
· Written entirely in assembler.
· Has custom routines for text output and scrolling.
· Scrollbar with soft realtime scrolling.
· Can show different fontstyles and colors.
· Doesn't show commands in AmigaGuide files.
· Files can be shown in binary and hexadecimal form.
· Can read files from pipe devices.
· Reads files crunched with PowerPacker.
· Can crunch and save files.
· Multiple files.
· Font sensitive.
· Random palette.
· Window on own screen or any public screen.
· Configure font, screen depth, placement of scrollbar, etc.
· Very fast searchroutine.
· Bookmarks.
· Iconify.
· Can be made Resident.
· AmigaOS 1.2/1.3 compatible, AmigaOS 2.0/3.0 aware.
3. Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A few features require AmigaOS 2.0 or higher, otherwise
AmigaOS 1.2 is enough.
Reqtools.library is required if you want to:
Choose file (loading and saving), choose font, choose screen
mode, search for a string, set tab size, set priority, change
palette.
Alternatively asl.library can be used for the file-, font-
and screen mode selecting.
Powerpacker.library is required if you want to:
View a file that is both crunched and encrypted with
PowerPacker, or crunch and save a file.
Asl.library is a part of AmigaOS 2.0+.
Reqtools.library and powerpacker.library are popular
libraries by Nico François. You should not have any big
trouble finding these if you don't already have them.
4. Usage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TextView can be started from both CLI and Workbench, and can
be made resident. It doesn't take any arguments from
Workbench, except the file if you use TextView as default
tool. From CLI the usage is:
TextView [file|dir] [TABS <n>] [BIN|HEX|ASCII] [ICON]
Explanation of options:
TABS <n>
Use tabsize n.
BIN|HEX|ASCII
View file in bin/hex mode, or force normal viewing. If none
of these options is given, hex mode will automatically be
used if the file is executable, an icon, an iff file or has
(many) exceptional characters.
ICON
Start iconified.
(KS 2.0+)
5. Load
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you start TextView with no arguments, it will open a file
requester. You can specify a filename on the commandline to
load directly, or a directory to position the file requester
in.
If you want to load a new file, use "Open..." in the Project
menu, or "Open New..." if you want to keep the first file.
The first free buffer will be used when selecting Open New,
and if none is free the screen will flash.
TextView will load the whole file in one turn. It has some
disadvantages. It requires that there is a free continuous
block of memory as large as the file. The loading cannot be
interrupted. You can't start reading until the whole file
is loaded. But it is fast.
If the file was crunched with PowerPacker it will
automatically be decrunched before it is shown. If it is
encrypted you will be asked for a password first.
When the file is loaded, TextView will count the number of
lines in it, and at the same time create a small speed up
table used when scrolling through the file.
If a file is loaded from a pipe device, TextView will first
pull the whole file from it in small blocks. Then it will
allocate a block of memory as large as the whole file and
copy the smaller parts to it. Thus the memory required for
this is twice the size of the file, and it will lead to
memory fragmentation. But I hope it is better than no pipe
support at all.
6. Save
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sometimes I load a huge file of a floppy disk with TextView,
and then discover that I want a copy of it on the HD. Since
the file is in memory, it would be a waste of time to have
to access the slow floppy disk once again. I think it is
natural to have a save function in a textviewer, even if it
is not possible to edit the text.
Use Save As in the Project menu to save the current file.
TextView will warn you if the file already exists.
7. Crunch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Save PP in the Project menu can be used to crunch a file
using the powerpacker.library and then save it.
You can't use this function to encrypt or crunch executable
files, it only handles "data" files. The efficiency used is
always "best". Speedup buffer is automatically adjusted to
available memory. One or two "*" will be shown in the
titlebar while crunching if the largest buffer couldn't be
allocated; and crunching is then slower. You can abort
crunching at any time by selecting Save PP again.
8. Keys
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use About in the Project menu, or "?", to see the key
commands.
The Help key will show some system info and information
about all files loaded. A "*" marks which one of the buffers
that is currently shown.
Keys 1,2,... switches between file buffers.
Use shift and an F-key to set a bookmark the same F-key to
go to that bookmark.
Use B/H keys to toggle between bin/hex/normal view mode.
TextView will quit if you press Esc, Q, Ctrl-C or Ctrl-D.
Ctrl-D will set a returncode of 20, which can be used to
break scripts.
You can use the arrow keys to view lines that are too long,
or use Word Wrap by pressing W. TextView will then format
the text by putting line feeds where appropriate. Word Wrap
cannot be undone.
Shift-E will start and pass the filename to the editor set
in ENV:EDITOR.
9. Mouse
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use the mouse to move through the file.
When the select (left) button is pressed, TextView will
start to examine the mouse position. When it is moved a
little bit away from the middle of the window, the text will
start scrolling up or down. The further the mouse is moved
from the middle, the faster the text will scroll.
You do not have to keep the button pressed, clicking is
enough for TextView to realize it should start scrolling.
Click once again to stop scrolling.
When the text reaches top or bottom the scrolling will stop,
if you move the mouse in the opposite direction it will not
scroll back.
For smooth scrolling with the mouse, each new line will be
shown pixel for pixel instead of the whole line when it fits
in the window. This does however require that Show ANSI is
off, and that a font with both height and with of 8 is used.
10. Search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you want to search for a string there is a Search menu,
it is easier to just press F or S. Use shift if you want to
search for a string case-sensitive. When you have entered
the string in the string gadget, the title bar will read
"Searching...". If the whole file is scanned and the string
couldn't be found, the titlebar will read "Not Found". If
the string was found, it will be highlighted in the middle
of the window.
Press N to search for the next occurence of the string, or P
to search for the previous one.
The search function will never move the text to a different
horizontal position.
If you search for a string in an AmigaGuide file with the
Guide flag set, some occurences might not be highlighted.
If you search for a string in bin/hex mode, it will be shown
at the top of the window, and it will not be highlighted.
The Forward and Case Sensitive options the Search menu will
not be saved together with the settings, the are always on
and off respectively on startup.
11. Goto
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you press %, G or shift-G, TextView will open a string
requester for you to enter where to goto. This will then be
shown in the first line of the window. Goto "%" means
percent of the number of bytes the file contains, and not
lines. (The percent the titlebar shows is percent of lines,
and it counts the bottom line.)
12. Iconify
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you select Iconify in the Project menu, or start with the
ICON argument, TextView will place an icon on workbench.
Double-click on the icon to activate TextView. You can also
drop a file on the icon, and textview will load it.
TextView has no built in image for the icon. It searches
for "TextView.info" in ENV: and in PROGDIR:. If it can't
find any icon it uses the default icon for tools. (PROGDIR:
is an assign to the directory a program was started from.)
Adding an application icon to workbench is a new feature of
the operating system, you must be running AmigaOS 2.0 or
higher for this.
13. Settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The settings menu lets you configure TextView.
Use ASL library
~~~~~~~~~~~~~~~
If this is selected TextView will use asl.library for the
file-, font- and screen mode requesters instead of
reqtools.library.
Screen Close Gadget
~~~~~~~~~~~~~~~~~~~
It is not possible to have a closegadget directly on a
screen. Therefore some programs don't have any closegadget
when using a screen, or they solve it in different,
sometimes stupid, ways.
If this flag is selected, TextView will open an extra window
on the screen with only a closegadget. The size of the
closegadget isn't known in advance, so the window will have
the size 1x1 when opened. Then TextView finds out the size
of the closegadget and resizes the window according to it.
This is the best solution I can think of right now. A
problem might be that for the titlebar string to be shown
altogether, some extra spaces must be put in the beginning
of it. If there is any problem or you don't like this, you
can turn this option off.
Make Screen Public
~~~~~~~~~~~~~~~~~~
If TextView is using its own custom screen, it will be made
public when running under AmigaOS 2.0+. Other applications
can then open their windows on TextView's screen in a manner
supported by the OS. The name of the screen is
TextViewScreenN, where N is a number from 1 and upwards,
depending on the number of screens that are opened by
TextView.
Rendering->Show ANSI
~~~~~~~~~~~~~~~~~~~~
Tells TextView to show different colors and font styles in
some files. This will make text output slower, especially
if different colors forces TextView to use more than only
the first bitplane.
Rendering->Strip Guide
~~~~~~~~~~~~~~~~~~~~~~
TextView will not show commands in AmigaGuide files, which
makes them much more readable. Text output may be slower,
but leave this flag on. It is automatically switched off
internally when viewing other files.
Rendering->Only ASCII
~~~~~~~~~~~~~~~~~~~~~
Non-printable characters will be shown as '.' in bin/hex
mode.
Rendering->Ctrl Characters
~~~~~~~~~~~~~~~~~~~~~~~~~~
Show inverse ctrl characters.
Rendering->Use Custom Routines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If this flag is selected, TextView will use its own custom
routines for text output and scrolling.
One routine is used for any 8x8 size font, and writes the
characters directly on the screen.
Two routines use the blitter, one to move text and another
to clear areas on the screen. For fastest scrolling, care
must be taken to that the blitter is a "word" blitter. If
you use the topaz 8 font, it is pretty easy. Make sure the
screen width is even divisible by sixteen, and use a
scrollbar width of 9 to 16 if you have it on the left or
right side of the screen.
If this flag isn't selected, there is one routine that might
be used anyway. It is used for any 8x8 size font and uses
BltTemplate(), like some patches for the Text-function.
This flag cannot be selected if TextView isn't using its own
custom screen, or if it is made public.
Screen->Use Public Screen
~~~~~~~~~~~~~~~~~~~~~~~~~
If TextView is running under AmigaOS 1.2/1.3 it will open
its window on the Workbench screen. If running under
AmigaOS 2.0+ it will first open it the default public
screen, which often is the Workbench screen. If TextView
already has its window on any public screen, it will close
it and open it on the next available public screen.
Screen->Duplicate Workbench
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use a screen with the same size and mode as the Workbench
screen.
Screen->Select Type
~~~~~~~~~~~~~~~~~~~
Lets you select screen mode and size from a requester.
Screen->Hires/Hires-Interlace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open screen in hires/hires-interlace mode, and with the same
size as the Workbench screen. Mostly intended for kickstart
1.2/1.3 users, because the screen mode requester is only
available under 2.0+.
Colors->1/2/3
~~~~~~~~~~~~~
Specifies screen depth. Only one color can be used for the
text if you select depth 1, but it saves chip memory.
Palette->Random
~~~~~~~~~~~~~~~
Each time TextView is started, it will randomly use one of
the predefined palettes in the submenu.
Palette->Default
~~~~~~~~~~~~~~~~
Use the same palette as the Workbench screen.
Palette->Adjust
~~~~~~~~~~~~~~~
Opens a requester and lets you adjust the screen colors.
Palette->Tint/Paraoh...
~~~~~~~~~~~~~~~~~~~~~~~
These are the same palettes as in the 3.0 palette preference
program. Am I creative or what? :)
Font
~~~~
The font menu specifies the font that will be used for text
output, and it can only be monospace.
Font->Default
~~~~~~~~~~~~~
Use GfxBase->DefaultFont. It is the "System Default Text"-
choice in the font preferences program.
Font->Select
~~~~~~~~~~~~
Select font in a requester.
Font->Topaz 8/9
~~~~~~~~~~~~~~~
The fonts that live in the kickstart.
Scroll Bar->None
~~~~~~~~~~~~~~~~
Don't use a scrollbar.
Scroll Bar->Left/Right/Top/Bottom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have a scrollbar in the prefered location. Only one can be
used. Even if it is placed at the top or bottom of the
window, it is used for moving the text in the vertical
directions only.
Scroll Bar->Width...
~~~~~~~~~~~~~~~~~~~~
Change scrollbar width, or rather height if it is placed at
top/bottom. If you select a value lower than 5 (intuition
doesn't seem to handle less than 5 perfectly), 16 or 10 will
be used depending on where the scrollbar is placed (the old
default values).
Tab Size->Select
~~~~~~~~~~`~~~~~
Opens a requester and lets you set the tab size.
Tab Size->3/8
~~~~~~~~~~~~~
Set tab size to 3 or 8.
Priority->Inherit
~~~~~~~~~~~~~~~~~
Run at whatever priority TextView was started with.
Priority->Select
~~~~~~~~~~~~~~~~
Enter new priority in a requester.
Priority->-1/0/1
~~~~~~~~~~~~~~~~
Use priority -1, 0 or 1.
Reset To Defaults
~~~~~~~~~~~~~~~~~
Use the same settings as when there is no preference file
for TextView.
Last Saved
~~~~~~~~~~
Loads TextView's configuration file. It is first searched
for in ENV:, and then S:.
Save Settings
~~~~~~~~~~~~~
Saves a configuration file named "TextView.prefs", which is
a couple of hundred bytes long. TextView first tries to save
it in ENVARC:, which is usually assigned to
SYS:Prefs/Env-Archive under AmigaOS 2.0+. If there was any
error, TextView quietly tries to save it in S: instead.
Then it is saved once more in ENV:. If there was any error
along the way, the screen will flash.
14. Comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you bring up the menus while TextView is scrolling text,
the menus and some text can get garbled.
Showing italic text under kickstart 1.2/1.3 can crash the
machine.
Window borders and the scrollbar can get overwritten when
showing different fontstyles, especially with large fonts.
All ANSI codes are not interpreted correctly. Colors and
styles are reset at the beginning of each line.
15. Bugs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you find bugs in TextView, I want to know about them. If
you report a bug, it is good if you can provide many
details. Tell me exactly what you do and what happens.
It can help if I know what system you run, tell me about
your:
· Hardware (Amiga,CPU,memory,chipset/graphic card)
· Version of:
· TextView
· AmigaOS (Kickstart and Workbench)
· asl.library
· reqtools.library
· powerpacker.library
· Patches (RTPatch, ReqChange, or my own NewReqLibs :^)
Try TextView with as few other things running as possible.
A problem with one program may very well be caused by other
software.
16. History
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.0 (31.10.94)
· First release.
1.1 (8.11.94)
· Can load encrypted files crunched with PowerPacker.
· Uses ENV:/ENVARC: rather than S: for configuration file.
· Scroll page one char left or right is faster.
· Save settings didn't save priority value.
· Changing size of window when about or help text was shown
didn't calculate new size of page.
1.2 (29.7.95)
· Removed option to use asl.library for file-, font- and
screen mode requesters.
· Removed option to print file.
· Menus under KS 1.3 look exactly the same as under 2.0.
· Optimized search routine, small but significant change.
· Loading routine crashed on some errors. :-(
· Does not use Seek() with offset argument OFFSET_END.
Loading crunched files would give Seek() error on A570.
· Choosing scrollbar none wouldn't always make it disappear.
· Italicised text didn't look nice when scrolling one char
left or right.
· Handles filename with spaces when started as default tool
from Workbench.
· Integrated menu Project->About and Help key functions.
This function now also shows file location in memory,
available memory and some other info. Also fixed bug which
let the text be shown in any font style.
· Quits with a return code of 20 (RETURN_FAIL) in case of an
error or if Ctrl-D is received.
· Listens to Ctrl-C, Ctrl-D and Ctrl-F. When Ctrl-C is
received TextView will quit. When Ctrl-D is received
TextView will quit with a return code of 20 (RETURN_FAIL).
When Ctrl-F is received TextView will bring its window to
the front and activate it.
· Line length limit extended from 1024 to 65535 chars.
· Can crunch (but not encrypt) file and save it crunched.
(requires powerpacker.library).
· Alt with arrow key moves 1/5th of page.
· Save As and Save PP use separate requester buffer.
· Successful saving adds file in requester buffer.
· Changing ANSI flag wouldn't always refresh page correctly.
· Hilites string searched for with pen color 3 if second
bitplane already is in use.
· Added Guide flag in Settings menu.
· TextView is now shareware.
1.3 (3.2.96)
· Loading routine uses dos.library/OpenFromLock() instead of
dos.library/Open() when possible. (KS 2.0+)
· Emulation of LockPubScreen() (used on KS 1.3) now opens a
small window on the workbench screen. Method used before
was not good.
· Opening window on public screen brings screen to front
and then opens window, not the other way around.
(I like to see what's happening. :)
· Opening window on public screen will bring back eventual
screen that was in front before.
· Removed bugs in the code that scans the public screen list
(when selecting Settings->Screen->Use Public Screen).
· Saving settings saves name of public screen, so TextView
won't always necessarily open on default public screen.
· Remembers window position and size better.
· Resizes window before opening on a screen that is too
small little more clever (when cycling through public
screens for example).
· Bug fix: Illegal FreeMem() when window/screen failed to
open.
· Opens interleaved screen. (KS 3.0+)
· Opens window on public screen with Type=PUBLICSCREEN
instead of CUSTOMSCREEN. (KS 2.0+)
· Checks visitor windows before changing settings that will
close and reopen screen.
· Menu items that has no effect at the moment are ghosted.
· Uses a copy of the window rastport. Using window on
Workbench screen on KS 1.3 and changing the rastport mask
didn't look good when doing window arrangement. (TextView
will still always set font used for text output in window
rastport to cooperate with Snap and PowerSnap.)
· Made text output faster when using any 8x8 size font,
though this uses some memory.
· Implemented smooth, pixel resolution, realtime scrolling
using the scrollbar. TextView now uses the same technique
as req.library and CygnusEd.
· Knows about more error codes returned by OpenScreen(), and
retries a little harder when it fails.
· Scrollbar can be placed at the top or the bottom of the
window.
· Made a scrolling routine that uses the CPU, if it is 68020
or better.
· Never shows carriage return, so you don't have to select
Settings->ANSI if you only want them out of the way.
· Changed MEMF_PUBLIC/MEMF_ANY attributes on some memory
allocations to work better (faster) with virtual memory.
· Right mouse button is no longer used for scrolling, only
the left one.
· Added ability to directly choose hires and hires-interlace
screenmodes.
· Added menu item Settings->Colors->Random.
· Changes priority to -1 when crunching.
· Put back option to use asl.library for file-, font- and
screen mode requesters.
· Non-printable characters are shown as '.' in bin/hex mode.
· Calls AutoRequest() on common errors instead of
DisplayAlert().
· Found math routines in KS 1.3, now uses them.
· Added close gadget on screen.
· Screen text font is same as default public screen, not
system default font.
· ANSI flag handles backspace, except when the beginning of
the lines aren't shown.
· New menu: Search.
· Searching for previous occurence of a string could fail,
if the string was near the very beginning of the text.
· Can decrunch non-encrypted files without powerpacker.lib.
· Added option "Use Custom Routines". Before they were used
when "Make Screen Public" was deselected.
· Word Wrap implemented.
· Lots of minor changes and bug fixes.
1.4 (8.2.96)
· Loading new file while in bin/hex mode will no longer
reset to normal mode.
· Parses commandline with ReadArgs() instead of own routine.
(KS 2.0+)
· Added bin/hex commandline options.
· Bug fix: Using an asl-requester and a reqtools-requester
would corrupt memory list when quitting.
· Handles string in an AmigaGuide command that ends with "'"
better.
· Improved rand-routine.
· Preset palettes had no values for color registers 4-7.
1.5 (29.4.96)
· Can load files from pipe devices.
· Added ability to have multiple files loaded.
· Only one menuitem to crunch and save file.
· Information/Help shows information about the files,
available memory, chipset/CPU/OS info and key commands
if they fit. Decimal numbers has commmas to be easier to
read.
· About/? now only shows copyright and key commands.
· Starts editor set in ENV:EDITOR with Shift-E.
· Added Goto %/Line/Byte.
· Fixed scrollbar not always being cleared (again).
· Choosing Scroll Bar->None wouldn't remove it from the
gadget list.
· Cleaned up filename handling a little (small bug removed).
· Disabling the Screen Close Gadget would clear pr_WindowPtr
and requesters would not appear on the screen.
· Doesn't use OpenFromLock() anymore.
(MCP 1.10/CrunchPatch doesn't patch that function.)
· Added Forward and Case Sensitive options in Search menu.
· Tab Size item in Settings menu in line with the others.
· Scrolling with the mouse stops when reaching top/bottom,
i.e. it won't scroll back when you drag the mouse in the
opposite direction.
· Decides about hex/normal view mode by itself, unless
BIN/HEX/ASCII argument is given.
· Fixed minor bug in scrollbar location reading.
· Won't print line number if window is inactive.
· Ability to Iconify added by using an icon on workbench.
Can start iconified with the ICON parameter. One file at a
time can be opened and read by draging it over the icon.
· Some changes to ANSI handling, handles <Esc>[nC.
· Added ability to choose scrollbar width.
· Under KS 1.3 the actual proportional gadget is one pixel
narrower than it looks like, so TextView now checks if the
user clicks one pixel outside the scrollbar and then
will not start scrolling. (Only KS 1.2/1.3)
· Ignores IDCMP_NEWSIZE when screen close gadget window
opens. (Was only a problem under KS 1.3.)
· Info string in titlebar use two copies of a rastport
structure, so it doesn't have to change pens.
(Inconsiderable speed improvement. :)
· Return and Enter repeat.
· If selected font can't be used because it is proportional,
TextView will say so.
· Gives a warning if diskfont.library cannot be opened when
it is required for the font to be used.
· Checkmark in menu wasn't restored if palette requester was
canceled.
· Removed division by zero bug that happend when showing
different colors on a screen with depth 8. My apologies to
whoever graphic card owners this might have been a problem
for.
· Characters shown as '.' in bin/hex mode was 0-31, it is
now 0-31 and 128-159, and made optional.
· With topaz 8, characters 0-31 and 128-159 can be shown as
the inverse of the characters 64-95 and 192-223.
· Routine for area clearing is faster (for whole words
starting at a word boundary) and use big blits on ECS/AGA
chipset.
· Made a scrolling routine that use the blitter and removed
the one that used the cpu. Great improvement that I have
been thinking of for a long time.
· Scrolling with the mouse scrolls pixel for pixel with
topaz 8. I got inspiration from View80 2.0, but TextView
isn't always that smooth.
· Grabbing the scrollbar when showing info/about page would
go back to the text, but not start scrolling until the
gadget was released.
· Handles AmigaGuide command with missing "}".
· Switch ANSI on/off with A.
· Changed processing of menuevents a bit, because of
incompatibility with MagicMenu.
· If screen fails to open, TextView will report about the
failure and then try to open a window on the default
public screen instead. Before it changed depth and screen
mode and retried to open screen.
17. Credits
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks to:
· Nico François for reqtools.library and
powerpacker.library.
· Michael Schubert for lot of feedback and being the first
and only (so far?) to pay the shareware fee.
· Jonas Elftstrom for betatesting
· Stefan Huelswitt for finding out incompatibility with
MagicMenu.
· All others who sent me bugreports and suggestions.
18. Distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No commercial usage of TextView is allowed without written
permission from the author. Other distribution is allowed if
no files in the original distribution are removed or
modified.
19. Shareware
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please, if you use this program, keep in mind that it is
shareware.
Shareware means that TextView actually isn't free. If you
use it for more than one month you are requested to pay for
it. The fee is 5 USD or 20 SEK. Please send the fee to my
address under Author.
I have really worked a lot to make TextView good, and I
appreciate every donation I get in return very much.
20. Author
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TextView is made by and copyright Torbjörn A. Andersson.
Please write to me if you can use email and have any
comments or questions. My email address is:
d95ta@efd.lth.se
Ask me via email if you want my current address. Otherwise,
or if you don't get any responce, this is is the address to
my parents home. It has been and will probably be valid for
years:
Torbjörn Andersson
Knöppletorp 4379
S-380 31 LÄCKEBY
SWEDEN
I love you - AMIGA